package com.zyh.house.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zyh.common.annotation.Excel;
import com.zyh.common.core.domain.BaseEntity;

/**
 * 房源管理对象 house_info
 * 
 * @author zyh
 * @date 2025-06-16
 */
public class HouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源ID */
    private Long id;

    /** 房源标题 */
    @Excel(name = "房源标题")
    private String title;

    /** 房源地址 */
    @Excel(name = "房源地址")
    private String address;

    /** 面积(平方米) */
    @Excel(name = "面积(平方米)")
    private BigDecimal area;

    /** 租金(元/月) */
    @Excel(name = "租金(元/月)")
    private BigDecimal rentPrice;

    /** 状态(1可租, 2已租, 0下架) */
    @Excel(name = "状态(1可租, 2已租, 0下架)")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }

    public void setRentPrice(BigDecimal rentPrice) 
    {
        this.rentPrice = rentPrice;
    }

    public BigDecimal getRentPrice() 
    {
        return rentPrice;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("address", getAddress())
            .append("area", getArea())
            .append("rentPrice", getRentPrice())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
